<html>
<body>
<?php
$username="biggie";
$password="biggie1994";
$database="mvl_test";

mysql_connect('localhost',$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM measure";
$result=mysql_query($query);

$num=mysql_numrows($result);

mysql_close();
?>

<table  width="700" border="0" cellspacing="1" cellpadding="0" bgcolor="#2f6faf">
<tr>
<td><font face="Arial, Helvetica, sans-serif">ID</font></td>
<td><font face="Arial, Helvetica, sans-serif">Name</font></td>
<td><font face="Arial, Helvetica, sans-serif">Desc</font></td>
</tr>

<?php
$i=0;
while ($i < $num) {

$f1=mysql_result($result,$i,"measure_id");
$f2=mysql_result($result,$i,"measure_name");
$f3=mysql_result($result,$i,"measure_beschrijving");
/*$f4=mysql_result($result,$i,"field4");
$f5=mysql_result($result,$i,"field5");
 * <td><font face="Arial, Helvetica, sans-serif"><?php echo $f4; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f5; ?></font></td>
 * <td><font face="Arial, Helvetica, sans-serif">Value4</font></td>
<td><font face="Arial, Helvetica, sans-serif">Value5</font></td> */
?>

<tr>
<td bgcolor="#7491ad"><font face="Arial, Helvetica, sans-serif"><?php echo $f1; ?></font></td>
<td bgcolor="#7491ad"><font face="Arial, Helvetica, sans-serif"><?php echo $f2; ?></font></td>
<td bgcolor="#7491ad"><font face="Arial, Helvetica, sans-serif"><?php echo $f3; ?></font></td>
</tr>

<?php
$i++;
}
?>


</table>
 </form>
</body>
</html>